{include file="public/head"}
<title>Home</title>
</head>
<body class="page page-id-6 home-style1">
<link href="/static/home/css/answer.less" type="text/less" rel="stylesheet" />
<script src="/static/home/js/less.min.js" type="text/javascript"></script>
<div class="body-wrapper theme-clearfix">
    {include file="public/nav"}
    <div class="listings-title">
        <div class="container">
            <div class="wrap-title">
                <h1>Home</h1>

                <div class="bread">
                    <div class="breadcrumbs theme-clearfix">
                        <div class="container">
                            <ul class="breadcrumb">
                                <li>
                                    <a href="#">Home</a>
                                    <span class="go-page"></span>
                                </li>

                                <li class="active">
                                    <span>Home</span>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

   <div class="container">
       <div class="release_box">
           <div class="head">
               <div class="heads_icon"></div>
               <div class="font">写下你的问题</div>
               <div class="clear"></div>
           </div>
           <div class="form">
               <form method="post" action="detail.html">
                   <input type="text" name="title"  class="input"  placeholder="标题:请为你的问题起一个标题" >
                   <div class="category">
                       <div class="icon_box"> <input type="text" name="category"  class="input"  >
                           <div class="add_icon" onclick="category_dis()">+</div></div>

                       <div class="category_box">
                           <div class="search">
                               <div class="search_name">方向:</div>
                               <ul class="search_ul">
                                   <li class="active">全部</li>
                                   <li onclick="selectValue(this)">全部</li>
                                   <li onclick="selectValue(this)">全部</li>
                                   <li onclick="selectValue(this)">全部</li>
                                   <li onclick="selectValue(this)">全部</li>
                                   <li onclick="selectValue(this)">全部</li>
                                   <li onclick="selectValue(this)">全部</li>
                                   <li onclick="selectValue(this)">全部</li>
                               </ul>
                           </div>

                           <div class="search">
                               <div class="search_name">分类:</div>
                               <ul class="search_ul">
                                   <li class="active">全部</li>
                                   <li onclick="selectValue(this)">全部</li>
                                   <li onclick="selectValue(this)">全部</li>
                                   <li onclick="selectValue(this)">全部</li>
                                   <li onclick="selectValue(this)">全部</li>
                                   <li onclick="selectValue(this)">全部</li>
                                   <li onclick="selectValue(this)">全部</li>
                                   <li onclick="selectValue(this)">全部</li>
                               </ul>
                           </div>
                           <div class="clear"></div>
                       </div>
                       <div id="summernote"></div>

                   </div>
                   <div class="value_button">问题价值</div>
                   <div class="value"><input type="text" name="value">
                   <div class="value_icon"></div></div>
               </form>


           </div>
       </div>
   </div>

    {include file="public/footer"}

    <script type="text/javascript" src="/static/home/js/summernote.min.js"></script>
    <script type="text/javascript" src="/static/home/js/summernote-zh-CN.js"></script>

    <link href="/static/home/fonts/summernote.woff">
    <link href="/static/home/fonts/summernote.eot">
    <link href="/static/home/fonts/summernote.ttf">

    <!-- include libraries(jQuery, bootstrap) -->


    <!-- include summernote css/js-->
    <link href="http://cdnjs.cloudflare.com/ajax/libs/summernote/0.8.7/summernote.css" rel="stylesheet">






  <script>
      function category_dis()
      {

          $(".category_box").css("display","inline-block");
      }

      function selectValue(obj)
      {

          var value=$(obj).text();


         $(".icon_box input").val(value);
          $(".category_box").css("display","none");
      }

      $(document).ready(function() {
          $('#summernote').summernote(
              {
                  width:560
              }

          );
      });

$(function () {
    $(".value_button").toggle(function () {
        $(".value").css("display","inline-block");


    },function () {
        $(".value").css("display","none");
    })


})

  </script>